<style>
    .xh-form .btn{
        margin-right: 0px;
    }
    .xh-form tr td:nth-child(2n){
        padding: 5px 20px 5px 0;
    }
    td >label{
        float: right;
        margin-right: 10px;
    }
    body{
        background-color: #f9f9f9;
    }
</style>
<script>
    var staffInfo = {{ staffInfo | json_encode }};
    var info = {{ info | json_encode }}
</script>
<table style="height: 100%;width: 100%;">
    <tr>
        <td valign="top">
            <form id="xh_form" class="xh-form"  method="post" >
                <div class="xh-area-form">
                    <table style="width: 100%;margin-left: 10px;">
                        {#<tr>#}
                            {#<td style="width: 75px;"><label>合同期限</label></td>#}
                            {#<td colspan="3">#}
                                {#<input type="text"  data-must="true" name="sContentDate">#}
                                {#<input type="hidden" name="iSPId" value="{{ info['iSPId'] }}">#}
                            {#</td>#}
                        {#</tr>#}
                        <tr>
                            <td><label>调动时间</label></td>
                            <td>
                                <input name="sTime" type="date" must="true">
                                <input type="hidden" name="staffId" value="{{ staffId }}">
                            </td>
                            <td><label>拟调动职位</label></td>
                            <td><input name="sInPost" must="true"></td>
                        </tr>
                        <tr>
                            <td><label>调入部门</label></td>
                            <td colspan="3">
                                <select name="sInDepId" must="true" style="width: 390px;">
                                    <option value="">请选择</option>
                                    {% for id,text in depArr %}
                                        <option value="{{ id }}">{{ text }}</option>
                                    {% endfor %}
                                </select>
                            </td>
                        </tr>
                        <tr>
                            <td><label>调动方式</label></td>
                            <td>
                                <select name="iType" must="true">
                                    {% for id,text in transType %}
                                        <option value="{{ id }}">{{ text }}</option>
                                    {% endfor %}
                                </select>
                            </td>
                            <td><label>调动后薪资</label></td>
                            <td><input name="sInSalary" must="true"></td>
                        </tr>
                        <tr>
                            <td><label>调动事由</label></td>
                            <td colspan="3">
                                <textarea rows="3" name="mReason" must="true"></textarea>
                            </td>
                        </tr>
                    </table>
                </div>
            </form>
        </td>
        <td valign="top">
            <div style="width:400px;height: 300px;padding: 5px;margin-right: 10px;">
                <table class="table table-bordered">
                    <tr>
                        <td class="info" style="width: 80px;">姓名</td>
                        <td style="width: 100px;">{{ staffInfo['sStaffName'] }}</td>
                        <td  class="info" style="width: 80px;">性别</td>
                        <td>{{ staffInfo['iUserSex'] }}</td>

                    </tr>
                    <tr>
                        <td  class="info" style="width: 80px;">年龄</td>
                        <td>{{ staffInfo['age'] }}</td>
                        <td class="info">职位</td>
                        <td>{{ staffInfo['sPostName'] }}</td>
                    </tr>
                    <tr>
                        <td class="info">调出部门</td>
                        <td colspan="3">{{ staffInfo['sDepName'] }}</td>
                    </tr>
                    <tr>
                        <td  class="info" style="width: 80px;">当前薪资</td>
                        <td>{{ staffInfo['sRegularSalary'] }}</td>
                    </tr>

                </table>
            </div>
        </td>
    </tr>
</table>
